<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="format-detection" content="telephone=no" />
  <meta name="format-detection" content="email=no" />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
  <meta name="renderer" content="webkit" />
  <meta name="robots" content="noindex" />
  <meta name="description" content="" />
  <title>title</title>
  <link rel="stylesheet" type="text/css" href="" />
  <style>
    body>a {
      display: none;
    }
  </style>
</head>

<body
  <div id="app"></div>
  <script src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
  <!-- <script src="https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js"></script>
  <script>
    new VConsole()
  </script> -->
  <script>
    ;
    (function () {
      window.getUrlParam = function (name) {
        var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)') //构造一个含有目标参数的正则表达式对象
        var r = window.location.search.substr(1).match(reg) //匹配目标参数
        if (r != null) return decodeURI(r[2])
        return null //返回参数值
      }
      window.isWeiXin = function () {
        var ua = navigator.userAgent.toLowerCase()
        if (ua.match(/MicroMessenger/i) == 'micromessenger') {
          return true
        } else {
          return false
        }
      }
    })()
  </script>
  <script type="text/javascript">
    ;
    (function () {
      if (typeof WeixinJSBridge == 'object' && typeof WeixinJSBridge.invoke == 'function') {
        handleFontSize()
      } else {
        if (document.addEventListener) {
          document.addEventListener('WeixinJSBridgeReady', handleFontSize, false)
        } else if (document.attachEvent) {
          //IE浏览器，非W3C规范
          document.attachEvent('onWeixinJSBridgeReady', handleFontSize)
        }
      }

      function handleFontSize() {
        // 设置网页字体为默认大小
        WeixinJSBridge.invoke('setFontSizeCallback', {
          fontSize: 0,
        })
        // 重写设置网页字体大小的事件
        WeixinJSBridge.on('menu:setfont', function () {
          WeixinJSBridge.invoke('setFontSizeCallback', {
            fontSize: 0,
          })
        })
      }
    })()
  </script>
  <!-- built files will be auto injected -->
</body>

</html>